package com.nereyda.responses.calendar
{
	import com.nereyda.responses.DefaultSO;
	import com.nereyda.vo.calendar.EventVO;
	
	public class GetEventsByCategorySO extends DefaultSO
	{
		public var events :Array;
		
		/**
		 * Crea los eventos.
		 */
		override public function makeValueObjects():void
		{
			var eventList :Array = [];
			
			for each ( var object:Object in this.events )
			{
				var eventVO :EventVO = new EventVO();
				
				eventVO.copyFrom( object );

				eventList.push( eventVO );
			}
			
			this.events = eventList;
		}
	}
}